#include "mem/RawMemoryRequest.h"
#include "base/Simulator.h"

NEW_DELETE_OPERATORS_CPP(RawMemoryRequest,1);

RawMemoryRequest::RawMemoryRequest (Entity* src, Entity* dest, VA blockaddr) :
    Request(src, dest),
    address(blockaddr)
{
    ASSERT((blockaddr & (VA)(global_sim->cfg.blocksize - 1)) == 0);
}

RawMemoryRequest::~RawMemoryRequest () { }

uint32* RawMemoryRequest::getData () {
    return data;
}

VA RawMemoryRequest::getAddress () {
    return address;
}
